For migrant workers, an electronics factory job can be a ticket into China’s booming middle class. But for many, it turns into a nightmare of poor working conditions and indifferent bosses.