Apple’s head of retail is leaving the company