feat: add getRecordsMap shared helper and getRecords to XrpcContext
Extract duplicated getRecords logic (fetch by URIs, reshape, return Map)
into a generic getRecordsMap function in db.ts, used by both
HydrateContext and XrpcContext. Adds getRecords to the XrpcContext
interface so XRPC handlers can fetch shaped records by URI.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>