ROME — President Giorgio Napolitano on Wednesday appointed Enrico Letta, the deputy head of the Democratic Party, as prime minister designate tasked with forming a government to lead the country out of weeks of political impasse after inconclusive national elections.