My build under Windows 11 allows me to insert JXL/AVIF images and they seem to display correctly if a bit slowly. OTOH, the Delete Unused Media Files tool will happily mark those files for deletion.
My latest test build for Windows can be downloaded from the link in the
Downloading Sigil test builds for Windows thread.
My test ePub is attached to this message.