The role of the electronic structure in the superconductivity of aluminium hydrides