Photonic spin and chirality in subwavelength optical cavities