Efficient Proxy Raytracer for Optical Systems using Implicit Neural Representations