The ideal approach to this would involve an add-on to change the max length allowed in code, as that would be enforced generally. Otherwise, the closest would be a template edit to change the maxlength
for the title input in the forum_post_thread
and forum_post_quick_thread
templates. (It would also potentially apply to a number of other templates as well.)