Geometric quadratic Chabauty over number fields