Time enough not only for showers but for Jolie to put Maddox down for a nap and then relax and shoot up once he was asleep.
Wanna bet? Why else would she need a PRIVATE pit stop so urgently?
I mean, maybe she just had to pee, but......
I don't think she molests Maddox, btw. Female molesters are statistically very rare in any case. Drugs seem far more likely to me. Otherwise, yeah, just drive on home. Granted that would take a while in the LA traffic mentioned above...so....maybe she didn't wanna wait for her fix.