Sequence-structure-function relationships in class I MHC: A local frustration perspective