Nidoqueen can't breed a Male Nidoran.Since, the Nido species are different depending on the gender.
Any Nidoqueen breeding will always result in a Female Nidoran.
I think there is only one way.
But,try to get a Nidoking,teach him Head Smash if it is possible to,do the whole process to pass Egg Moves and breed him with a Ditto.
If you hope to evolve this Nidoran to Nidoking,than just train a Nidoran until it evolves and then teach him Head Smash(if possible).
That's the only way I can think that you can get what you want.
If the breeding keeps resulting on Female Nidorans or the baby not having the move you want,than try checking in Nidoran's movepool to see if he can learn Head Smash by breed.
If this method not work,than I don't think it's possible.I'm sorry.
If i'm wrong,someone correct me.
I think you can have a way to do this without the whole process.Tho,i can't find out.