Second seed Victoria Azarenka has withdrawn from Wimbledon before her second round match with a knee injury.