Modelling the dynamics of a nanocapillary system with a moving mass using the non‐local strain gradient theory