Your transit route to Thailand can affect visas, boarding, health checks, customs, and even whether you clear immigration.