database: Add RepoSupported to SubRepoPermsStore
Created by: ryanslade
This will allow us to quickly check if a repo supports sub-repo permissions. The intention is for the result to be cached but the query itself should be quick.
When testing in production in returns in 0.3ms and only requires index scans.
Closes https://github.com/sourcegraph/sourcegraph/issues/27055