Straightening Lines without Straightening Iron
You can do this with a custom orientation.

Select the A and C vertices and choose a Normal Orientation
Click the + button to save this new orientation
Select vertices A + B + C (order matters) and set pivot point to Active element
Scale the selection to 0

Making a custom orientation

Scaling to 0, active vertex as pivot point.