Carlos Alcaraz is one win away from defending his Wimbledon title after clinching a comeback victory over Daniil Medvedev.