There currently isn't a way to perform this automatically with GeometryEngine.
You'll have to calculate the distance between each line segment one by one and sum it up until you exceed the distance. Then calculate the fraction you need to be down the line of the last line segment.