Fix crash when pressed index became invalid
PointRenderer caches the index of the pressed point but never updated
it when the series changed, so a later release could reference the wrong
point or index rects/points out of range and crash.
Track the series signals and keep the cached index in sync: shift it on
add and remove, drop it when the pressed point itself is removed, and
forget it when the whole point list is replaced.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pick-to: 6.12 6.11
Fixes: QTBUG-148514
Change-Id: I76c92f6aae2e7ba79e059be57272994e26082d68
Reviewed-by: Sami Varanka <sami.varanka@qt.io>