Wendy’s will soon test a plan to fluctuate menu prices based on the time of day and location similar to the surge pricing that ride-sharing companies like Uber use.