This is the proof I read from here. I will quote it fully:
The answer is NO. To see why, consider a line L in the plane P, and two marked points A, B on it. It is desired to construct the midpoint M of the segment AB using the straightedge. Suppose we have found a procedure which works. Now, suppose we have a one-to-one mapping of plane P onto another plane P' which carries lines to lines, but which does not preserve the relation "M is the midpoint of the segment AB", in other words A, M, B are carried to points A', M', B' with A'M' unequal to B'M'. Then, this leads to a contradiction, because the construction of the midpoint in the plane P induces a construction in P' which also would have to lead to the midpoint of A'B'. (This is a profound insight, an "Aha" experience, and worth investing lots of time and energy in thinking it through carefully!!)
I don't understand how the one-to-one mapping induces an equivalent construction of the midpoint of A'B' in the plane P', given that it only preserves lines?.