'The Kissing Booth 2' cast found out about Joey King's 'secret' job while filming