Scientists confirm third-nearest star with a planet—and it’s rocky like Earth