Remove some code duplication in cursor layer code
Move some generic properties to the OutputLayer class and add a cursor layer getter in the RenderBackend class. That allows us to get rid of some code duplication. And we could use this work to move more cursor layer code from backends to Compositor later.