Use the existing `ruff_python_trivia::is_python_whitespace` function (#11844)
## Summary
This PR re-uses the `ruff_python_trivia::is_python_whitespace` in the
lexer instead of defining its own. This was mainly to avoid circular
dependency which was resolved in #11261.