South Korea is voting for a new leader after the former president was impeached for imposing martial law.