As President Trump left Beijing, he and Xi Jinping, China’s leader, played up stability. There was no indication that they had resolved any major points of contention on Taiwan, the war in Iran or other issues.