Local Poincaré inequalities from stable curvature conditions on metric spaces