The answer is A. It is essential that she wait in line.
A verb describes an action. Waiting in line is an action. The other options grammar is terrible so the option must be A. D doesn't necessarily have bad grammar it's just that it does not represent an action.