North Korea has fired what appeared to be an mid-range ballistic missile out to sea, coinciding with a visit by US Secretary of State Antony Blinken to Seoul.