gh-84256: Fix a tkinter crash when Tk calls an event handler outside of Tcl (GH-162547) This happens on Windows when a window message is dispatched from a foreign event loop, for example when the window is resized while a native dialog is shown. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>