Chief Justice John Roberts votes with court's four liberal judges, saying virus restrictions 'appear consistent' with First Amendment after appeal by California church