It seems clear to me that it's not right since in both cases the causes are outside the control of the afflicted person—even more so in the case of a brain structure anomaly; and a common ethical heuristic is to not blame someone in such a situation—but practically speaking, because people can't relate to the brain structure issue, they won't empathize as much.
Another ambiguity here is what's meant by 'empathy'. If you take it to mean 'relate to' (which is one meaning of course), then it's vacuous to say people have more empathy for those they can relate too. But there's another usage referring essentially to a cognitive mode wherein the empathetic person acts with understanding toward someone they're engaging with. It's surely easier to enter that mode when it's something you can personally relate to—but that isn't necessary: we can become empathetic in this way just through an abstract understanding of someone's situation.