The Spanish PM is betting his confrontation with Donald Trump will rally the country's left behind him