Suppressing Epidemic Spreading via Contact Blocking in Temporal Networks