The laws Alito cited in striking down Roe were passed before women could vote