Ilia Malinin had traveled to Milan as the “Quad God” who seemed destined to claim the gold medal in the men’s free skating.