A fragile democracy, the Weimar Republic, briefly took hold in Germany before the Nazis seized power. Now, Weimar’s collapse is seen as a warning.