TeX: Add onClick support for perseus

Summary:
I'm unifying the tex.jsx in perseus and react-components
(and eventually moving all requires over to the latter).

We use onClick on TeX elements in mobile for math inputs.

Test Plan:
\#yolo

Auditors: joel