West Point cadet quits over religion