applets/notes: Port to Qt6
Several fixes so the notes applet loads in Plasma 6:
- Port to Qt6 Dialog API (note that the dialog is broken for unrelated reasons, which can't be fixed here AFAIK)
- Remove useless PlasmaStyle import that was removed in KF6
- Remove qml import versions so it actually loads
And also:
- Replace last usage of ==