Move the blob LFS enabled lookup to the repository
What does this MR do?
Blobs can "look through" LFS pointers to the backing object, but only if the blob belongs to a project or project wiki repository (for now). This change moves the logic for that to the repository as a precursor to making it static data.
Does this MR meet the acceptance criteria?
- [-] Changelog entry
- Documentation (if required)
- Code review guidelines
- Merge request performance guidelines
- Style guides
- Database guides
- Separation of EE specific content
Part of #201886 (closed)