The prospect of the end to the month-long US-Israel war with Iran has lifted global stocks and knocked the dollar off its recent highs.