In-plane resistivity anisotropy and nematic response in hole-doped iron-based superconductors