The war with Iran has weakened US President Donald Trump, handing China a strategic advantage ahead of a highly anticipated meeting.