WASHINGTON — President Obama has selected Ashton B. Carter to be the next defense secretary, senior administration officials said on Tuesday, elevating a physicist and the Pentagon’s former chief weapons buyer to succeed Chuck Hagel, who was ousted last week.