The Generational Welfare Contract: Justice, Institutions and Outcomes