Tracing genetic history of modern humans using X-chromosome lineages