Can't be done, and for a very simple reason: A raw file is always the unmodified raw data captured by the sensor, no more and no less. You can't manipulate pixels and resave as a raw file - you have to save the result as a rendered TIFF or PSD.
And Lightroom can't stitch either - it's a parametric, not pixel, editor.