Revealing the role of electrons and phonons in the ultrafast recovery of charge density wave correlations in 1T−TiSe2