Metal oxidation state effect in photoionization of gas‐phase metal halides