Spain wants the EU to build a climate adaptation fund. The financing rules buried in the same proposal could reshape how Europe pays for anything built to last.