Photorespiration and rate synchronization in a phototroph-heterotroph microbial consortium