McDonald’s pushed back on the idea that it is setting prices behind customers’ backs.