Emission-line variability of Fairall 9 - Determination of the size of the broad-line region and the direction of gas motion