Yoon Suk-yeol, South Korea's impeached president, plans to attend a court hearing to fight a request by investigators to extend his detention on accusations of insurrection, his lawyer says.