The US president accused the pontiff of ‘endangering’ Catholics in renewed criticism over the Iran war.