state-res: Add support for room version 8 join restrictions
state-res: Add support for room version 8 join restrictions

Co-authored-by: Devin Ragotzy <e2c60c4aab5192d4c28965efb2412502eb4e262c@wmich.edu>

ruma/ruma