In a fact-filled extended essay, Samuel Moyn asks how the country’s wealth can be spread more evenly and, with it, democracy improved