US President Donald Trump is delaying a diplomatic trip to China that had been planned for months amid the Iran conflict.