Was your dog able to get his tounge all the way down to the wine or just lick the top? I doubt overnight is a problem, did you add KM when you racked? WVMJ
It will be just fine. Just forget that it happened. You'll be happy. Really no worries! I'm guessing the carboy was nearly full, so co2 was still blanketing the exposed area.