Allow `UV_PRERELEASE` to be set via environment variable (#2240)
## Summary
This is useful as it tends to be "system-wide" configuration, and
configuration that differs from pip. See
https://github.com/astral-sh/uv/issues/1641#issuecomment-1980934954.