Revert "QQuickItem: Fix effective visibility for items without parent"
This breaks applications that use QQmlPropertyList to store QQuickItem and don't set a parentItem for them.
Ref: https://github.com/musescore/MuseScore/issues/17276
This reverts commit 45c22a02.