The head of the company’s U.S. discount business is taking the top job from Doug McMillon who cemented Walmart’s place in the digital age.