I don't know whether to laugh or cry at those urolagnic law writers.
It seems like it depends on the state, there are 13 states that have the "public urination leads to sex offense" regulation. Of those only 2 states have the "near a minor" clause. So 11 states can put you there for peeing in public, no strings attached. On those, you would be at the mercy of the police officers that catch you.
Also, I found out that the reason for the "public urination is a sex offense" is not urolagnia (at least it's not overt urolagnia), but a means to deter the flashers' defense "I was peeing, officer." Not sure it makes a lot of sense.
Disclaimer: As I said, this was light research on the topic, so there might be errors. Sources were mostly Straightdope forums and the Wikipedia, IIRC.