The country’s coal and mineral wealth is a mixed blessing: Landlocked Mongolia knows that prosperity depends on its neighbors.