For two days here in the German Alps, President Obama has struggled with many of the issues — Russian aggression, the Islamic State, climate change and sensitive nuclear negotiations with Iran — that will define his legacy. The meetings of the leaders of the seven largest industrialized democracies have been dominated by the fighting in Ukraine and the need to maintain tough sanctions designed to punish Russia for its backing of separatist fighters there.