Lawyers in prestige positions aren’t as happy as those in public service-jobs, study finds