Andy Burnham has pledged to ‘rewire’ the UK by moving money and power out of London and into its regions. In Northern Spain, one city might provide the blueprint for how to do so. Dan Haygarth finds out