Search for a heavy composite Majorana neutrino in events with dilepton signatures from proton-proton collisions at $\sqrt{s}$ = 13 TeV