Boeing Co. is heading closer toward finalizing a deal with China to sell as many as 500 aircraft, according to people familiar with the matter, a transaction that would end a sales drought that stretches back to US President Donald Trump’s last visit in 2017.