Rate-dependent plastic buckling of a core–shell wire