This follows the discussion from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/762054/6/includes/MentorDashboard/MenteeOverview/UncachedMenteeOverviewDataProvider.php#132.
Let's add GlobalUserSelectQueryBuilder to MediaWiki-extensions-CentralAuth, which will support at least the following (to sufficiently support GrowthExperiments):
- Find users by their (global) username
- Filter users by their locked status
- Return local UserIdentities (to easily get local user IDs in GrowthExperiments, see parent task)