Rayleigh scattering and disorder-induced mixing of polarizations in amorphous solids at the nanoscale: 1-octyl-3-methylimidazolium chloride glass