windows: Fix main thread blocking when resizing or moving window (#10758)

Connection: Fix #10703 


https://github.com/zed-industries/zed/assets/14981363/59abfab7-ebb2-4da7-ad13-0a9e42f9c1d3




Release Notes:

- N/A
fee2065b64张小白 committed on 4/19/2024, 9:40:21 PM· committed by GitHubparentc3bcfb3
2 files changedLine totals unavailable