Update thaiwordcheck.py
Update thaiwordcheck.py

- Change list to set for faster membership check
- Further refactor thaicheck() to reduce call stacks
- Pre-compile the regex pattern
PyThaiNLP/pythainlp