Bordered Floer theory, links in $S^1\times S^2$, and (non-)formality