[keyserver] Factor out findUserIdentities
Summary:
I'll reuse this in a following diff, so factoring it out here.
Depends on D13434
Test Plan: Flow
Reviewers: varun
Reviewed By: varun
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D13435