A teenage hockey player died after experiencing a medical episode during a game in New York on Saturday, officials said.