Method for manufacturing ion-conducting membrane