Former foreign minister says Banks ‘would have thought long and hard about her decision’ to quit the Liberals