The two-day APEC summit in South Korea has wrapped up with President Lee Jae Myung handing over hosting duties to China.