refactor: move DB interactions from `internal/authz` to `db` package
Created by: unknwon
This PR moves code for DB interactions from enterprise/cmd/frontend/internal/authz
to enterprise/cmd/frontend/db
package.
- Renamed
Store
toPermsStore
to be more explicit in thedb
package.
Stacked on #7911.