Contact-line behavior in boiling on a heterogeneous surface: Physical insights from diffuse-interface modeling