[PATCH 3/6] win32u: Factor out display_device lookup in separate helpers.