Glycolytic reliance promotes anabolism in photoreceptors