[PATCH v2 4/7] win32u: Factor out display_device lookup in separate helpers.