I would say the way to calculate the rotation angle is a mathematics problem, not a Blender question. But I guess you do not want the specific angle value, you just care for the alignment.
The Axes to Rotation node from the answer by @DanielMöller does what you want. By the way, normalizing the vectors is not necessary unless you specifically want that for placing the points. But for the alignment it does not matter.
Just in case you are working with an older version where the Axes to Rotation node does not yet exist, here is an alternative way: you can simply do that with two Align Rotation to Vector nodes:
The first one you leave as it is in your setup, where you align the Z axis with Pivot set to Auto to the first vector.
In the second Align Rotation to Vector node you align the X axis rotating around the Pivot Z axis (which you already aligned) to the second vector.
To be clear: Daniel's solution is correct and the most efficient. My alternative is for older Blender versions.
