[Feature]: Backport Text Tool Locking Feature from Version 3.x to 2.4.x
### What's the feature?

Hello tldraw team 👋

We are currently using version 2.4.x of `tldraw` and noticed that the text tool locking feature is available only in version 3.x. This feature is important for our workflow, and I would like to help bring it to version 2.4.x by backporting the relevant code from 3.x.

**Plan:**
1. Review the related PRs from 3.x that implement the text tool locking feature. I was able to identify those 3 PRs:
- https://github.com/tldraw/tldraw/pull/4569
- https://github.com/tldraw/tldraw/pull/4632
- https://github.com/tldraw/tldraw/pull/4644
2. Open a PR to incorporate this functionality into 2.4.x

**Questions:**
- Are there any specific guidelines for backporting features to 2.4.x?
- Can I target the branch `v2.4.x` for this PR?

Thank you for considering this contribution.
Please let me know if there’s anything I should adjust before proceeding.

Additional Context: This feature allows the text tool to remain locked after use, similar to the behavior of the geo tool. It greatly enhances usability for tasks requiring multiple consecutive text additions.

Looking forward to your feedback!

### Where would you like this feature?

The developer package

### Contact Details

alisson@enzrossi.com

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct