Kelly Duffey, from Wiltshire, had been working at HMP Erlestoke when she engaged in an 'intimate relationship' with a prisoner