Sir Keir Starmer has welcomed the ceasefire agreement between Iran and the US as he travelled to meet with leaders of countries in the Gulf.