A New Mexico judge has dismissed a lawsuit filed by actor Alec Baldwin for malicious prosecution in the fatal shooting of a cinematographer on the set of the Western movie “Rust.”