How the mathematician Kurt Gödel diagnosed the pathologies of our age—and pointed to a cure.