Growth of Polymer Nanorods with Different Core–Shell Dynamics via Capillary Force in Nanopores