[parser] Fix indentation tracking after line continuations (#23417)
## Summary
fixes: https://github.com/astral-sh/ruff/issues/19301
## Test Plan
Add new lexer and parser test cases.
---------
Co-authored-by: Kartik Ganapathi <kartikganapathi@icloud.com>