[platforms/drm] show cursor only when it is enabled

Merged Bhushan Shah requested to merge work/no-cursor-on-transform into Plasma/5.19

In previous code we used to update/show cursor even when the pointer device was present, e.g mobile device. Guard it behind the cursor enabled check.

BUG: 418977

Edited by Bhushan Shah

Merge request reports