Scaling Laws for Emulation of Stellar Spectra