Learning Approximated Maximal Safe Sets via Hypernetworks for MPC-Based Local Motion Planning