South Korean Court rejects petition against detention of impeached president