Encrypted Machine Learning Pipeline for Protecting Patient Privacy in Healthcare