Trump’s theory of global power faces a reckoning in Iran and Canada