XMM-Newton observations of β Centauri (B1 III): The temperature structure in the hot plasma and the photosphere-wind connection