KABUL— As he nears his first anniversary in office, Afghanistan’s president faces daunting challenges on every front, from a deteriorating economy and political infighting to a wave of bomb attacks that continue to terrorize the country’s capital. Among these challenges, Ashraf Ghani singled out corruption as an equally dangerous threat to his nation at a gathering in Kabul on Tuesday.