PERF: add np.max and np.min to _cython_table (GH5927)

Fixes numpy max/min slow path on resample and adds tests to vbench.