A driver was injured and taken to hospital after a two-car crash in an outlying Leeds village.