Elena Rybakina overcame a slow start to the defence of her Wimbledon title as she defeated Shelby Rogers in three sets.