The short answer is:
The $51.6^\circ$ inclination of the ISS's orbit is measured from the equator, not from the latitude of the launch site (for KSC, $28.6^\circ$).
Intuitively, as the orbit moves toward a higher latitude, the angle it makes with those lines of latitude decreases, until it is parallel with them, then tilts negative, heading to lower latitudes, crossing the equator, and then doing the same in reverse. This is just what happens when you project a circular(ish) inclined orbit onto the latitude/longitude coordinate system.
This is easiest to see on a picture. Annotating the diagram from this answer should make the situation clear:

As the trajectory moves northward, the angle it subtends with lines of latitude decreases.
How do we math this?
The launch angle is given by the following simple formula, with $i$ the inclination of the orbit, $\phi$ the launch site latitude, and $\beta$ the orbital inclination:
$$
\beta = \text{arccos}\!\left(\frac{ \text{cos}(i) }{ \text{cos}(\phi) }\right)
$$
It is of course straightforward to plug in the numbers for this situation:
$$
\beta = \text{arccos}\!\left(\frac{ \text{cos}(\approx\!51.6^\circ) }{ \text{cos}(\approx\!28.6^\circ) }\right) \approx 45.0^\circ
$$
Note that you will sometimes incorrectly see arcsine instead of arccosine. This comes from an easy-to-make error in the derivation, which I will highlight below. Arcsine will (coincidentally) produce almost the correct result for KSC, making it plausible, but running a sanity check at $0^\circ$ launch latitude will prove it is the wrong formula.
Where does that math come from?
I was unable to find a diagram, so I drew one:

The north pole is at $A$, the ascending node of the orbit is at $B$, and the launch site is at $C$. We apply the spherical law of sines:
$$
\frac{\text{sin}(A)}{\text{sin}(a)} = \frac{\text{sin}(B)}{\text{sin}(b)} = \frac{\text{sin}(C)}{\text{sin}(c)}
$$
(which is where the "spherical trigonometry" quip comes from). Since $c$ is $90^\circ$ by construction and $B=\pi/2-i$ and $b=\pi/2-\phi$ by inspection, simple algebra and basic properties of sine/cosine (every step shown in the diagram) gives:
$$
\text{sin}(C) = \frac{\text{cos}(i)}{\text{cos}(\phi)}
$$
Now if you weren't paying attention, you might take the arcsine of both sides and think you were done. However, we don't want $C$; we want $\beta$. By vertical angles, we can see that $C=\pi/2+\beta$. Therefore, we have:
$$
\text{sin}(C) = \text{sin}(\pi/2+\beta) = \text{cos}(\beta)
$$
And our final answer is:
$$
\beta = \text{arccos}\!\left(\frac{\text{cos}(i)}{\text{cos}(\phi)}\right)
$$