Open MAD-X process with STDIN=NULL

This fixes a bug on windows when STDIN is not an inheritable file handle.
Most notably, this occurs when starting as "madgui.exe", i.e. with the
setuptools generated entrypoint.