Vietnam devalued its currency two months ago as an overture to foreign investors who like the Southeast Asian country’s low costs but have a growing number of choices of where to park their capital. That move might have been just a start to ensuring these gold nuggets in a nearly $200 billion economy don’t leave for other fast-growing Asian nations.