Katy Perry had to cut back on ‘crazy’ partying after becoming a mum