The [test output](https://github.com/statrs-dev/statrs/actions/runs/15233967662/job/42845390000) of #341 demonstrates a bug in the default implementation of inverse_cdf for a discrete distribution. For geometric, we can implement inverse_cdf explicitly, which is generally encouraged.