The story
Uncertain, but probably from closet (“private room; outhouse”), possibly compounded with lodge (“building”) and -ie (affectionate diminutive suffix). Or simply onomatopoeic, from the sound of the flushing.
Etymology from Wiktionary, CC BY-SA 4.0.