There is no `device` when doing screen capture, but there is always an `input`, so use that to decide when we can reply to a latency query. Without this, the latency query just fails. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3589>