For anyone having this issue in the future, please see this insightful StackOverflow reply: https://stackoverflow.com/a/77443707/6368685
This solution ended up working, albeit I did not use jQuery but a custom JS function: https://github.com/rocklobster-in/contact-form-7/issues/345#issuecomment-830801337