Use correct variable to determine Python version.
The install rules looked at VTK_PYTHON_VERSION to determine Python install rules instead of using the version number from Python interp that was found. That was causing issues in build where the VTK_PYTHON_VERSION was not set correctly. Fixed that.
Addresses paraview/paraview#18011 (closed)
Backport: paraview/release
Edited by Ben Boeckel