Locality-Aware Generalizable Implicit Neural Representation