vtkModuleWrapPython: support multiconfig generators
This basically makes it look just like a single configuration generator. The downside is that Python modules for different configurations all share an output path. The exception is Debug modules on Windows.
Fixes: #17545 (closed)