Replace all references to ray queries with ManagedPtr<RayQueryHandle> for #60