No, your logic is entirely upside down.  The unborn human's right to life obligates the mother to NOT do something; kill him or her.

The mother obligated herself to give birth when she engaged in the sexual act and conceived.