A rural hospital in northern Idaho will stop delivering babies or providing other obstetrical care, citing a shifting legal climate in which recently enacted state laws could subject physicians to prosecution for providing abortions, among other reasons.