Allow overriding inference api endpoint (#1335)
* Allow overriding inference api endpoint
In some cases users may want to point at an api gateway or similar rather than hitting the inference api directly, allow overriding via env var.
* add to constants and document
* Update src/huggingface_hub/inference_api.py
---------
Co-authored-by: Lucain <lucainp@gmail.com>