Bad weather and war threaten to keep global wheat supplies under pressure, reviving the specter of rising food costs.