Europe’s generous welfare states are coming under increasing strain as weak economic growth collides with rising demands on government budgets, particularly from aging populations.