For two “lost decades”, colour-photography pioneer Saul Leiter pretended he was working on nothing – when actually he was busy painting over decades’ worth of black-and-white nude photos. Sean O’Hagan celebrates his private pursuits