Chinas Staatschef Xi Jinping hat nach Darstellung von US-Präsident Donald Trump seine Hilfe im Iran-Krieg angeboten.