Closed range weighted composition operators and dynamical sampling