...
In the GOG Galaxy client select X4: Foundations (1), click on MORE (2), select Manage installation (3), and finally click on Show folder (4).
This should bring up the Windows Explorer window in the folder where the X4.exe (and the dump files) reside.