Mexico absolutely doesn't want the wall or border enforcement of any kind. Their poorest and most desperate come to the US and are no longer a problem for Mexico, instead they are a huge source of income. 

The wall is unnecessary but if he wants Mexico to pay for it, he needs to tax remittances to Mexico and reduce foreign aid to Mexico by the amount of the wall. It's not rocket science.