Python: Fix "FileNotFoundError" while executing the deploy test on macOS


Previously test assumed that the binary is wrapped in the .app bundle and tried to execute with that path, which caused the "No such file or
directory" error.
This patch wraps the binary in Contents/MacOS/ and executes it.

Change-Id: Icdb2a99a65d3efc2de21301b329607e485be113f
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
commite1f258e8a59ee3175aa4e164c8392931910cc468
parentd2b4d0f4365dfe53b2eeb9171111ce97c3a7e716
authorEce Cinucen <ece.cinucen@qt.io>
committerEce Cinucen <ece.cinucen@qt.io>
commit timeThu, 28 Aug 2025 14:20:18 +0000