A controversial Buddhist temple in Thailand has lost a bid to renew its zoo license and is being investigated for suspected wildlife trafficking.