A British Airways worker has accused the airline of sexism after he was sacked for having a "man bun".