The expectation that a woman must sacrifice her career and conform to traditional notions of an obedient wife reflects a line of reasoning that is archaic, the justice said