Even a short war will alter the course of Donald Trump’s second term. One that lasts months could bring it crashing to earth