Generalized Killing spinors in dimension 5