The choreographer Wayne McGregor at a rehearsal in 2016. He will create his first work for American Ballet Theater, “Afterite,” as part of the company’s spring season.