qtd3dservice: Lock the app to a single instance

To avoid conflicts with multiple services running in tandem, create
a lock mutex and prevent starting multiple instances.

Change-Id: I0b1eede3947d8baafa309ffd8e214029a4b79bc5
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>