scripting: Add maximize property to get window maximize state
This commit introduces a new property, "maximized", to the KWin::Window
objects.
This property allows for the detection of a window's maximize state, enabling better control and customization through scripting.
It also provides the ability to compare the maximized
property with the enum type KWin::Workspace::MaximizeMode
in QML scripts.