BANGKOK—A Buddhist temple west of Bangkok, once a staple on the Thailand’s tourist trail, is at the center of one of the country’s biggest-ever wildlife-trafficking investigations after scores of d