At this point, the best known to me way to fix the gap in Euclid's proof of Proposition I.32 is by using the exterior angle (EA) theorem presented as Theorem 4.2 in the book by Greenberg; the latter theorem seems to be proved fully and correctly in that book. On p. 165, Greenberg states: "The exterior angle theorem [...] was the 16th proposition in Euclid's Elements. Euclid's proof
had a gap due to reasoning from a diagram. He considered [...] He then assumed from the diagram that B' lay in the interior of [a angle]". So, that was another case when Euclid reasoned from a picture and missed a betweenness relation.
Greenberg's EA theorem states: "In any Hilbert plane, an exterior angle of a triangle is greater than either remote interior angle."
So, the fix of Euclid's proof of Proposition I.32 is as follows. Let the ray $CE$ be parallel to the line $AB$ and such that the (blue) angles $BAC$ and $ACE$ in the diagram in the OP be alternate interior angles wrt to the lines $AB$ and $CE$ and the transversal $AC$. Then, by the EA theorem, the angle $ACD$ will be greater than the angle $BAC$, which latter is equal to the angle $ACE$. So, the angle $ACD$ is greater than the angle $ACE$, which shows that the ray $CE$ is between the rays $CA$ and $CD$, as desired.
Remark: As was noted in a comment, 'The sum-of-angles theorem is Proposition 4.11 in [Greenberg's] book. However, the 6-line proof of that proposition there does not mention any betweenness. Its last sentence just says "But the three angles at vertex В have degree measures adding to 180°".'
The proof of Proposition 4.11 Greenberg's book is illustrated there by the following picture:

Missing in that proof is the verification of the facts that (i) the ray $BA$ is between the left dashed ray and the ray $BC$ and (ii) similarly, the ray $BC$ is between the ray $BA$ and the right dashed ray.
Despite the betweenness gap, Euclid's proof of his Proposition I.32 -- requiring the betweenness relation just for one ray $CE$ instead of the two rays $BA$ and $BC$ -- seems more elegant than Greenberg's proof of the sum-of-angles theorem.