Torque-limited Growth of Massive Black Holes in Galaxies across Cosmic Time