winex11: Move foreign_window_proc to systray.c.