Rewrite LazyFrames.__getitem__ to only decompress if needed (#1906)
Rewrite LazyFrames.__getitem__ to only decompress if needed (#1906)

* add last_frame property to LazyFrames

* drop LazyFrames.last_frame and rewrite __getitem__ instead
Farama-Foundation/Gymnasium,Farama-Foundation/Gymnasium