duration_model: pass a probability distribution

This makes `duration_model::lookup` take a probability distribution
function. As such, a z-score based duration will be reduced to a
css::time value.