Quadratic Optimization with Switching Variables: The Convex Hull for $n = 2$