#26741: [desktop] Update the project python bootstrap to reset PATH

Prevents DLL loading issues with some engines (maxplus) on windows.
This should be tested on other OSes.  I'm pretty sure this will raise an exception sometimes that we need to protect against.  Should just do the import down where it is used and only on windows, and even then with a try/except just in case it is a python build that doesn't have win32 available.