As the midterms near, Democrats are proposing adding more justices and limiting their terms, among other measures, amid growing frustration with the court’s rightward turn.