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