After more than a week of political turmoil, South Korean lawmakers voted to impeach the country’s embattled president.