Search for high-mass resonances in dilepton final states in proton-proton collisions at root s=13 TeV