Strong coupling of Rayleigh phonons to charge density waves in 1T-TaS2