Tiler Peck, a New York City Ballet star, is making her first work for the company. “It’s my opportunity to pass on to the next generation anything that’s been given to me.”