The footwear company’s overhauled loyalty program and mobile app contributed to more digital purchases even as overall sales declined.