India’s expanding education system is facing a new challenge as rising costs push young people—especially men—out of classrooms and into the workforce early.