Prior to the widespread usage of diapers, neither diaper rash and or bed wetting existed in the world. The simple reason is that a baby was normally naked or placed on towelling material, and would be potted after every meal. This teaches a baby that everytime it wets, it will be cold and uncomfortable. The baby gets used to the feeling and crys as soon as it is wet, and then eventually crys before it wets.
Are you sure ?
Baby's big uncluttered brain can learn very quickly, in three days something can become a habit. As they sleep for much of the time in the womb, and in the later part of pregnancy, urinate, they are born with no inhibition about wetting, even in their sleep.
Babies weren't normally naked.
In winter, in much of the world they would have died, and in the 1950s, in the tropics, I saw babies wrapped until they could run around, to stop them being pestered by flies.
Breast milk take time to be digested, so potting a baby after a feed would be 'pot luck' that an earlier feed was caught.
For their first three months, babies sleep most of the time, so there is little opportunity to know when it is wetting, or, in the tropics, to learn that every time it wets, it would be cold.