Yes, it's immoral to force someone to support a parasite. Once the child is born(even a bit before that as they can survive outside the womb with modern medicine at some point before birth) the child is longer a parasite since it doesn't need the mothers support to survive.