Donald Trump, welcoming Xi to the White House for a state visit, said the two leaders had developed a close relationship since his first election in 2016.