libweston: make get_focused_output a public libweston function

It is useful for plugins.
2 jobs for focused-output in 4 minutes and 9 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Build
passed #75714
build-native-autotools

00:04:09

passed #75715
build-native-meson

00:02:49