A puppy became a local celebrity — and honorary deputy — after video of its brush with an alligator went viral