Photorespiration pathways in a chemolithoautotroph