struggling with a restless kid on an airplane is inappropriate behavior from an adult. Full stop.
Grumbling to yourself or your neighbor, NBD. But anyone who thinks that shouting "get your kid under control" is going to help the situation in any way is a lunatic.