GeoClue2: Fix DesktopId property
The DesktopId property has to indicate the desktop file name, i.e.
QGuiApplication::desktopFileName().
The QCoreApplication::applicationName() is used for things such as
settings. The application name is not used to initialize or derive the
desktop file name.
This fixes the geoclue daemon having wrong metadata about its clients.
[ChangeLog][Important Behavior Changes][GeoClue2] The plugin now
uses QGuiApplication::desktopFileName() if the desktopId plugin
parameter is not specified, and only falls back to
QCoreApplication::applicationName() if desktopFileName() is not
defined. The fall back path is scheduled to be dropped in the next
major release of Qt.
Pick-to: 6.10
Change-Id: I6b1ba57ab73ae7adda3b18874283ff93f78810db
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>