Multi‐Functional Layered WS2 Nanosheets for Enhancing the Performance of Lithium–Sulfur Batteries