A resilient Jannik Sinner managed to defeat Pavel Kotov despite fighting through an existing hip injury at the Madrid Open.