Lawyer hits prison officer with lawsuit over partisan conduct