Decay of acoustic turbulence in two dimensions and implications for cosmological gravitational waves