British premier, after carefully nurturing relations with the US president, makes clear they are at odds over the Iran war