It may be possible to identify at what age someone might develop Parkinson’s disease by studying their genes, a study suggests.