Joint estimation over multiple individuals improves behavioural state inference from animal movement data