My guess is that it's origins are in the temperance movements of the 19C. I tried to look it up, but Wikipedia wasn't much help there. Everything I found was about either banning alcohol entirely (or at least banning spirits) or was on the current age restrictions, rather than their history...