Naomi Osaka lost to Anastasia Pavlyuchenkova in the third round at Wimbledon, failing to reach the fourth round for the fifth time.