Mr. Federer ended weeks of speculation about his deal with Nike Inc. this summer when he stepped onto the court at Wimbledon wearing a white shirt that bore a little red square reading “Uniqlo” instead of Nike’s swoosh.