A "quick" search of the forums would lead you to many dozens of posts about this: Quick Layers is the sole palette whose position and open/closed status is not memorized in the Work Environment in your version. Very old complaint / wish.
😞
Karl
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators