China's Xi Jinping and US President Trump opened bilateral talks with cautious optimism about their nations' relationship.