Uniform and Lipschitz continuity of objective functions in metamaterial band gap optimization problems