I'm sure it was nerve grating, but the child wasn't "demonic", just undisciplined and/or had mental problems.
Clearly a hazard to flight. The captain failed in his legal duty to protect his passengers.
I’ve had kids kick my chair from behind on the plane and I said nothing except made the “stare” at the parent not to do it again..