The Republican governor of Virginia, Glenn Youngkin, appears to have thwarted an attempt to stop law enforcement obtaining menstrual histories of women in the state.