A National Guard soldier has filed a federal lawsuit against United Airlines, alleging the carrier violated his federal protections.