I think this is now QtConst.WindowMaximizeButtonHint in more recent versions of PyQt, no?
I think the approved way of handling this for Anki add-ons would be simply from aqt.qt import WindowMaximizeButtonHint
but I’m not the author of this add-on and I haven’t actually tried the above.