DOC: Modify validate_rst_title_capitalization.py script
Regarding issue #32550.

@datapythonista

Modify script in order to not take into account words with 2 or more capital letters, which should all be proper words.