The sportswear giant got lapped by competitors like New Balance, On, and Hoka. Now Nike is racing to catch up.