US President Donald Trump and Chinese President Xi Jinping displayed cordial ties on the second day of talks in Beijing, even as differences over Taiwan remain a key point of concern.