A gift accepted by the country’s first lady has set off very public debates about ethics and revealed ruling party divisions just weeks before legislative elections.