Disequilibrium chemistry in a brown dwarf's atmosphere: Carbon monoxide in Gliese 229B