Scaling relations of metallicity, stellar mass and star formation rate in metal-poor starbursts — II. Theoretical models