ORLANDO, Fla.—Tucked away in an office park hundreds of miles from the southeast Florida coast where North America’s only barrier reef is at dire risk, a collection of brain corals performed a once-a-year feat—producing a constellation of egg sacks, each a bundle of hope.