Cobb jailer recruit fired after attacking detainee, sheriff says