surface-actor-x11: Merge a simple function inline

This is a one-liner, only used in one place.
surface-actor-x11: Use the existing check for "visibility"

Instead of doing our own thing here.
surface-actor: Call process_damage even when the actor is invisible

Otherwise, surface-actor-x11 won't be marked as having received damage,
which is vital to updating the actual surface.