The propeller is spinning the same as a fan that has just been turned OFF, No power and no thrust.
The cart's propeller is attached to its wheels, which are rolling along the ground as the cart moves forward.
A fan that has just been turned OFF is attached to nothing.
You agree, I think, that while the turned-off fan is still spinning, the air exerts a forward force on it, yes? It's just that the air also exerts a torque on it which quickly stops it from spinning.
But the forward force on the cart's propeller pushes the cart forward, turning its wheels and, via the chain, exerting a counteracting torque on the propeller, which tends to make it spin faster. Depending on the pitch of the propeller and the gears ratio connecting it to the wheels, at certain speeds this counteracting torque is greater than the torque tending to slow its rotation.