Constraints on a generalized deceleration parameter from cosmic chronometers and its thermodynamic implications