The loss of Seoul would deliver a symbolic blow to South Korean President Lee Jae Myung despite his party’s broader gains.