Rising health-care costs for public-sector employers may push politicians to raise taxes or cut benefits.