Edge-backlit LCDs are incapable of displaying pure-black; there will always be some light leakage from the backlight, this being most noticeable when viewing dark images in low ambient lighting conditions. This is a fundamental characteristic of this screen technology.
An iPad9 is unlikely to offer noticeable improvement over your iPad mini5.
You might be interested to note that the fifth and sixth generation iPad Pro 12.9" uniquely feature Apple's XDR miniLED backlit LCD panel. This panel has hundreds of individual backlight LEDs that provide local dimming zones - substantially improving contrast of dark images.