Press the P key on your keyboard.
In game terms this is not just a bodily function — it is scent marking. Urinating at a spot advertises your presence to other wolves, which is how you claim territory and signal that an area is taken. Your marker becomes visible on the map, and rival wolves respond to it.
So if you are establishing a territory, mark its edges regularly. If you would rather travel quietly, skip it.