A woman who hails from a minority ethnic community was chosen as India’s new president, a largely ceremonial position.