lookupKittyImage method
Looks up imageId using any scoped KittyImageRegistry covering (x, y),
falling back to KittyImageRegistry.global only outside scoped regions.
Implementation
KittyImageData? lookupKittyImage(int x, int y, int imageId) =>
lookupKittyRegistry(x, y).lookupImage(imageId);