Large deviations for the contact process in random environment