Optimization frameworks and sensitivity analysis of Stackelberg mean-field games