The U.S. Supreme Court appeared primed to upend Roe v. Wade, a move that would transform a woman’s constitutional right to abortion.