Back in the 1980s, when Mary Beth Whitehead battled an infertile couple for custody of the baby she had carried on their behalf, surrogacy was a little-known practice that raised big ethical questions about what it meant to be a parent. In the decades since, public perception has evolved, as…