Framed BPS states, moduli dynamics, and wall-crossing