Prince Harry wore his military uniform at a vigil on Saturday for his late grandmother, Queen Elizabeth—his first appearance in military attire in more than two years.