Hubble Tarantula Treasury Project – VI. Identification of Pre–Main-Sequence Stars using Machine Learning techniques