Darwin: unify display link implementations across Apple platforms
CVDisplayLink is deprecated in macOS 15.0. The replacement APIs
(NSView, NSWindow, NSScreen displayLink) return CADisplayLink,
the same class iOS has always used.
Unify macOS and iOS under a single CADisplayLink-backed
DisplayLinkObserver, using the screen-specific creation API
on macOS 15+ while keeping CVDisplayLink as a fallback for
older releases.
Pick-to: 6.12
Change-Id: I3e1bbcc04d924a8bb35ebac53f8e0b08cd159bc7
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>