Stochastic Disease Spreading and Containment Policies under State-Dependent Probabilities