Three hours from the city, Thailand’s favourite mountain escape is more welcoming to dogs than it first appears, as long as you know which gate stays shut.