How a Kentuckian’s debut novel made it from page to screen.