wxmac: make non-bundled apps work

Non-bundled apps (e.g. gnuplot) do not show
the wx window with wxmac 3.0.0 (or show it after
a huge amount of time).

The upstream patch included here fixes this.

Closes #25712.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>