TST: Make test_hash_equality_invariance xfail more generic
The `raises` isn't too novel compared to raising a more specific behavior exception like a `ValueError`

Additionally, seems like hypothesis raises an ExceptionGroup here now which is PY311 specific (or using a backport package).
Going to merge to avoid flaky failures