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.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: