Dynamic separation of electron excitation and lattice heating during the photoinduced melting of the periodic lattice distortion in 2H-TaSe2