Dick’s Sporting Goods Inc. is in advanced talks to buy Foot Locker Inc., whose stock had dropped 41% this year amid the back-and-forth over tariffs, according to people familiar with the matter.