Interplay Between Glass Formation and Liquid-Liquid Phase Separation Revealed by the Scattering Invariant.