Joint Classification and Trajectory Regression of Online Handwriting Using a Multi-Task Learning Approach