Lawyers for South Korea’s impeached president say he will appear at a hearing in a Seoul court to oppose a formal arrest over last month’s imposition of martial law.