X is designed such that the WM is a user replaceable component with a stable, public interface to the rest of the system. Those other systems not so much.
This is correct. I can only speak to macOS, but window management in this case is actually built on something entirely distinct from the actual system window manager. It utilizes a framework designed for implementing accessibility driven features, but it just happens to provide mechanisms for moving and tracking windows as a part of that.