[lib] Replace innerThreadFrozenDueToBlock with threadIsWithBlockedUserOnlyWithoutAdminRoleCheck in useThreadsWithPermission
Summary:
This allows us to narrow things as threadIsWithBlockedUserOnlyWithoutAdminRoleCheck only accepts ThreadInfo and will help us remove ThreadInfo from memberHasAdminPowers.memberInfo argument without that invariant.
Depends on D12289
Test Plan: flow + close reading
Reviewers: ashoat, ginsu, tomek, varun
Reviewed By: tomek
Differential Revision: https://phab.comm.dev/D12290