The men who gathered in Philadelphia in 1787 had not been interested in establishing the rule of the majority. Quite the opposite: The Federalist and the debates on the floor of the Constitutional Convention largely concerned how the new nation might most effectively check the popular will. Hence the Electoral College, the election of senators by legislators and limited suffrage. The prevailing term for America's governing philosophy was republicanism--an elegant Enlightenment-era system of balances and counterweights that tended to but decisive power in the hands of elites elected, at least in theory, by a country of landowning yeoman. The people, broadly defined, were not to be trusted with too much power.
In other words, the reason Hillary lost the election despite winning the popular vote, is because some 18th century gentry didn't want some poor plebs voting against their interests.