The Iran war, Taiwan and trade have been discussed by Donald Trump and Xi Jinping at their US-China summit.