Detecting cancer using liquid biopsy