This really has nothing to do with the Second Amendment, and certainly doesn't infringe on it. The Second Amendment doesn't say anything about what kind of "arms" we can bear. We are left, as a modern society with weapons unimagined in the days of our Founding Fathers, to figure that out for ourselves.
Alzheimer's researchers have observed that having a parent or sibling with the disease increases one's risk of developing it somewhat above the general population's. Some people with such family histories wish to have a genetic test that will answer the question: 'Will I be next?'" But the real question is, "Would I want to know?"