WASHINGTON—A gunman opened fire on random victims from a sniper’s nest in an apartment building near an elite prep school in the nation’s capital on Friday, wounding four people, before taking his own life as police closed in, officials said. Police said the suspect, Raymond Spencer, 23, of suburban Fairfax, Virginia, was initially identified from…