This tale appears to come from Toltec mythology, related to us by the Aztec and preserved in later Mexican source. The Ixtlilxochitl your source cites is almost certainly Fernando de Alva Cortés Ixtlilxochitl, an early modern native historian from New Spain. He wrote that:
In the year 8 Tochtli, which was 1,347 years after the second calamity and 4,779 years since the creation of the world, it is recorded in their history that the sun stood still one natural day without moving, and a myth evolved wherein a mosquito saw the sun suspended in the air in a pensive mood and said, "Lord of the world, why are you standing still and why are you in such deep thought? Why are you not doing the work you are supposed to do? Do you want to destroy the world as before?" And the mosquito said many other things to the sun, but the sun still did not move. The mosquito then stung the sun on the leg, and seeing that his leg had been stung, the sun began again to move along its course as before.
This is clearly the same story described in your link. The preceding paragraphs make it clear that Ixtlilxochitl was, or at least thought he was, writing about the beliefs of the Toltecs.
The Tultecas, consisting of seven men and their wives ... they wandered for 104 years in different parts of the land until they settled in Huehue Tlapallan, their homeland.
- The Historical Works of Fernando de Alva Ixtlilxochitl. Edited and annotated by Alfredo Chavero, 1892.
Since pretty much all we know about Toltec mythology are second hand from the Aztecs, who viewed themselves as the Toltecs' successors, you could also consider this myth to be Aztec.