A rare cat in Thailand has been spotted for the first time in 30 years, confirming that the species is still living.