And Mr. Trump, by launching the strike on Russia’s ally Syria, undercut critics who have portrayed him as a Manchurian candidate doing the bidding of President Vladimir V. Putin after the Kremlin intervened in last year’s election on his behalf.