Local-global principles for $1$-motives