Safe Control Under Input Limits with Neural Control Barrier Functions