I'm not up to date on the research on corporal punishment, but isn't the obvious distinction that adults can respond to rational incentives, and children cannot?
My pet theory is that since in school environments physical punishment was distributed "equally", that's not as bad.
I really wonder how far back corporal punishment dates in the west, and whether brilliant people like Einstein ever received physical punishment.