A historian explains why right-wing criticism of Alexandria Ocasio-Cortez’s clothing mirrors the response to early female labor activists