My son's soy allergy caused urinary incontinence, so I would think a dairy allergy could also, though I don't know if there's any research that supports this.
It would be interesting to see if you do better taking a digestive enzyme product with DPP-IV in it, just before having ice cream, however, LOL, one of the effects of taking digestive enzymes can be.... increased urinary frequency! Oh well.