There are two bathrooms in the series. One in Oracle of Ages, and another in Majora's Mask. In both cases, you can get a handy item from the disembodied hand that seems to reaching for toilet paper, if you give them a paper-based item.
As for why not all of them have bathrooms? Well, think...