Q: What song do you want to sing? or Which song do you want to sing?
I don't think there's a definite rule. In this usage, what song would be the more general question, offering the choice of any song at all. Which song would indicate an offer to choose from among a (more or less) limited selection.
Interested in Language