Fix panel deserialization (#4198)

In the old world, panel loading happened strictly before workspace
deserialization. Now it's inverted.

Fix this by storing on the dock the serialized state so they can restore
state as panels are loaded.

[[PR Description]]

Release Notes:

- Fixed Zed forgetting which panels were open on boot.
([#2406](https://github.com/zed-industries/community/issues/2406)).
c5465d26f8Conrad Irwin committed on 1/22/2024, 7:37:38 PM· committed by GitHubparentsa1c471636a8bbf
3 files changedLine totals unavailable