Judge dismisses lawsuit against 'Three Cups of Tea' author