U.S. stocks ended mostly higher on Monday, after President Trump met with national-security officials to discuss an Iran proposal to reopen the Strait of Hormuz and end the war.