Judge dismisses Yosemite trans flag lawsuit