That is only true if the entire global economy is running 100% on bitcoin. The second you need to trade with another economy (like any nation needs to in order to import/export goods), you are bitten by the same issue.
The US is El Salvador's largest trading partner - so Bitcoin's price relative to the USD does matter.