A Measurement of the Cosmic Optical Background and Diffuse Galactic Light Scaling from the R < 50 au New Horizons-LORRI Data