South Korea’s President Yoon to attend court hearing on extending detention