Higher-order amplitude squeezing of photons propagating through a semiconductor