A Unified Analysis of Stochastic Optimization Methods Using Jump System Theory and Quadratic Constraints