Element selection for functional materials discovery by integrated machine learning of elemental contributions to properties