When today's rewards are tomorrow's endowments: The effects of inequality on social competition