Donald Trump has welcomed Chinese President Xi Jinping to Washington for a three-day visit where tensions over trade, technology and Tehran will play out.