cursor: Hold reference to cursor tracker
This is so that it can unregister from it on tear down. The tracker owns references to cursors too, but this cycle is already broken as the backend calls 'g_object_run_dispose()' when tearing the cursor tracker down.
Fixes a crash on shutdown.