It’s come close to cancellation several times, but could the successor to the Hubble telescope make the greatest ever discovery?