This commit adds a fields version of the mesh to curve node, with a
field for the input selection. In order to reduce code duplication, it
adds the mesh to curve conversion to the new geometry module
and calls that implementation from both places.
More details on the geometry module can be found here: T86869
