After two years in the shadows, health stocks are back as a haven for investors navigating economic uncertainty.