Activists and pet-lovers in China have freed hundreds of dogs from a cattle trailer bound for the slaughterhouse.