Part of #118145. This commit removes the `PBVHVertRef` abstraction and changes the last remaining usage of it. The `raycast_node` API has been turned into a static function and the corresponding typed APIs exposed for direct usage. Pull Request: https://projects.blender.org/blender/blender/pulls/127933