5 of 9 justices say state treated secular activities 'more favorably than at-home religious exercise'; liberal minority: ruling 'hurting ability to address public health emergency'