Thermalization and dissipation in out-of-equilibrium quantum systems: A perturbative renormalization group approach