As states grapple with how to retain those willing to enter the profession, one official thinks he’s found a way to make working behind bars more attractive