Exploiting Representation Curvature for Boundary Detection in Time Series