Donald Trump's war with Iran has drained American resources and eroded its lead over China in Asia to a record low, a Lowy Institute report says.