MEXICO CITY—Plans for a meeting between President Donald Trump and Mexico’s Enrique Peña Nieto have been shelved for the second time in a year over disagreements about the funding of a border wall, Trump administration officials said.

The border wall has been a key issue for Mr. Trump since he began campaigning for the presidency but has strained relations between the two countries and enraged Mexicans.

Messrs....