As protests erupted over a housing crisis in Spain, prime minister Pedro Sanchez sought to capitalise on the anger by calling a snap general election. But has the gamble backfird? Alex Croft reports