How long has she been out of the cast? I know it's not quite the same as people but my daughter broke her leg earlier this year and after the cast came off the Dr told us it's normal for her to not walk on it for up to 3 weeks because even though the bone is healed enough to bear weight, it still takes several months for it to fully heal so it could still be tender. Also after it's casted, it's stiff which is also tender to move plus the muscle is weak from not being used all that time. I'm sure it's similar with chickens (and animals) but different time frames for healing so if she's just come out of the cast I think this is fairly normal until she gets the strength and full range of motion back in that leg plus if she has any pain. If it's been a few weeks, my next thought would be nerve damage, in general that takes much longer to heal but still may never get back full function. Is she dragging it or trying to walk on it at all? She shouldn't have any issues laying eggs, though she'll have to learn to squat with 1 leg and may need the lame leg splinted to her if she's having trouble laying with it out behind her but if there was no internal damage from when she broke the leg there's no reason why she wouldn't lay eggs, just have to wait and see how she does and offer assistance if the leg is making it harder on her.