Search for a heavy charged boson in events with a charged lepton and missing transverse momentum from pp collisions at sqrt(s) =13 TeV with the ATLAS detector