The president’s daughter dined with South Korea’s leader and will attend the Olympics’ closing ceremony, where a North Korean delegation will also be present.