A man and woman who climbed on top of a DLR carriage holding a "climate emergency" banner had to be removed after gluing themselves to the roof.