cursor-tracker: Make ensure_wayland_cursor take a ref

This fixes a crash in the last commit because that's what I thought
this would do.

It also simplifies callers drastically...