Yorkville Advisors has agreed to buy up to $400 million of Lordstown’s shares, which would provide needed cash to the growing electric vehicle company.