It looks like it might be a slipped tendon. Here is some reading about trying to get the tendon in the proper position to splint it in place:
https://www.chickenheavenonearth.com/slipped-tendon-in-baby-chicks-leg-what-you-can-do-to-help-chicken-heaven-on-earth.html...