A federal ruling has opened up the way for graduate students working at private universities to unionize. Here’s how the legal fight played out.