A man has been arrested in connection with animal cruelty in County Durham after a puppy was allegedly beaten.