A legislator from Haiti’s ruling party fired a handgun during a protest on Monday, injuring a photojournalist as anger rises over fuel and food shortages in the Caribbean country.