A Manhattan surrogate has rejected animal welfare groups’ bid to ensure that organizations that help dogs receive funds from a charitable trust created by Leona Helmsley, the real estate mogul who, upon her death, left $12 million to her dog.