A new study suggests that remote work may be contagious—and can create a less productive environment for those remaining at the office.