Alcaraz was clearly bothered by it, he even mimicked a limp after losing the third set (4:25)
Djokovic raised his level despite the injury, and that obviously rattled Alcaraz. At the end of the day, you can't think or worry about how hampered your opponent looks; just focus on your own game.