Nicaragua has accused Germany of breaching the Genocide Convention by selling weapons to Israel that were used in Gaza.