Spatial dynamics of a nonlocal model with periodic delay and competition