Retail job losses risk a ‘jobless generation’