WASHINGTON  Standing in the Rose Garden, where he once marked the Paris climate accord, celebrated the Supreme Court decision saving his health care law and unveiled the Iran nuclear deal, President Obama promised on Wednesday to “root for” Donald J. Trump, even though Mr. Trump has vowed to topple those and other pillars of Mr. Obama’s legacy.