Elite universities are taking fewer doctoral candidates after decades of beefing up their research enterprises.