Two-Stage Representation Learning for Analyzing Movement Behavior Dynamics in People Living with Dementia