But the shocking experience of a global crisis without global leadership seared this into the president’s worldview.