[nemo-qml-plugin-calendar] Refactor event query