I don't see why Link wouldn't pray to Hylia, with her being a Goddess and people tending to pray to those. It is worth noting that in the world of Zelda, Goddess Hylia and the Golden Goddesses aren't just works of fiction like Yahweh and Ganesh are in ours. Their existence is proven and praying...