Astronomers have discovered a potentially habitable world just 31 light-years away, thanks to NASA’s planet-hunting telescope