Idempotent Learned Image Compression with Right-Inverse