A white former employee of multinational information technology company HP Inc. claimed he lost his job and was allegedly accused of racism after he said the company was spending too much time on its diversity, equity and inclusion practices.