Monitoring the planet’s ailing coral is costly and arduous. Now new research shows that scientists can do it by listening in