South Korean president rules out military involvement in Middle East conflict