Relative energy approach to a diffuse interface model of a compressible two‐phase flow