I think baptizing a kid who’s living with someone breaking the doctrine would be worse, actually. How horrible would the kid feel? How hard would it be for them to keep the teachings of the church? Waiting until they’re old enough to be an adult is the only logical and sane choice.