It looks like she might have overextended that leg. Did you have to pull her? Wonder if the muscles/ligaments got stretched. I don't have much experience with this in newborns, so I'm not sure what the best course of action would be for her. I'm sure others will chime in. You might need to splint or wrap it to get it into the correct position.