Metabolic feedbacks drive population dynamics and can lead to oscillations among leaf bacteria