Serena Williams said she was motivated to return for this year’s Wimbledon after tearing her hamstring at last year’s tournament.