It is rarely a good idea to run components at their maximum ratings. That LED should give adequate brightness at much less than 20mA current.
In your posted circuit Vcc = 3.3V, R23 = 560R. From the D9 datasheet, Vfwd = 2.05V minimum @ 20mA.
So the maximum D9 current is ~(3.3V-2.05V)/560R =...