A politico-economic model of aging, technology adoption and growth