The US president told world leaders he was weighing up whether to “annihilate” Iran to end the war.