Retention of a model pathogen in a porous media biofilm