US Secretary of State Antony Blinken met China's president for talks at the end of a visit to Beijing.