Dog rescued from Scottsdale trail