McDonald's has dropped plans to sell a stake in its resurgent Japanese business, following an improvement in its outlook.