President Obama met with China's president, Xi Jinping, at an event linked to the international climate conference held late last year outside Paris.